Return 404 on GET to a json_handler

A `json_handler` expects JSON as request input, and will error out with a verbose cryptic traceback if hit by a GET.

It should just 404 instead. (Suggestions on alternative HTTP codes welcome.)