Added JSON parsing to POST request bodies.