Change Header to JSON according to response 

Change header to JSON according to response 

related issue 

http://stackoverflow.com/questions/6807404/slim-json-outputs