Request data extractors to allow posting other formats than JSON

Ref. #186

Creating a PR so it can be easily reviewed. It's not quite ready yet because I haven't updated the docs.

Also I'm not happy with the name 'request_data_extractor', but couldn't think of anything better so far.