Change Header to JSON according to response 

Change header to JSON according to response 

related issue 

http://stackoverflow.com/questions/6807404/slim-json-outputs
Merge pull request #7 from nainglinaung/master

Change Header to JSON according to response