cleaning up request routing; allowing specific passthroughs for JSON.