Add two new hooks to Morepath, which can be installed using the
dump_json and load_json directive. These translate outgoing objects
to a JSON response, and incoming JSON to a Python object.

Installing these hooks required a change to the way render functions
worked -- they need a second request parameter.