I don’t think so, because the serializer already has the user object, is just a matter of including it in the payload. I can be wrong, tough.
Nope, but there are plenty of opensource plugins and the Discourse source code itself.
I found it trough other plugins code too.