AJAX user registration and JSON returned
Instead of listening to the onSaveUser event, I'd update my user save form on the front-end to point to a controller's action in my plugin.

You can run similar logic to what Craft's UsersController-&gt;actionSaveUser() is doing and return any custom JSON encoded data you want back to your template.