Return response as json set header 'Content-Type' as 'application/json'