Automatically parse body as JSON