Added configure for headers and content-type application/json to all responses