Removed config property from response, combined JSON body parser to one function, and done basic unit testing