Allow JSON as request content.

The action wasn't able to handle JSON format data.