Fix for posting to /users with JSON via AJAX