Add a handler to parse JSON request bodies on POST, PUT and PATCH.