Change "get_user_info" to return json instead of a response

This makes it consistent with the other methods