json renderer should set correspond content-type.
Merge pull request #1 from jbking/master

json renderer should set correspond content-type.