Fixed Content-Type for json render. Thank you @mdigger