Force json response for registration controller