json renderer should set correspond content-type.