Made the json responses more consistent and friendly