Automatically parsing JSON request bodies