Refactored json responses to separate files