fix to render json requests properly
Merge pull request #1 from ted-hanson/fix_json_rendering

fix to render json requests properly