WIP records: REST API addition

I think you need the configuration variable since you can have multiple formats with the same mimetype, but for the API you need to choose which format to use. 

Take e.g. ``application/json``. By default it's just ``recjson``, however for Zenodo I might want to change it to a different json output format.