Convert do_json_response to do_response, and leverage what HTTP codes already give us.

See https://github.com/humanmade/hm-rewrite/pull/1#issuecomment-18099755