WIP records: REST API addition

But you want multiple output formats, say e.g. ``recjson`` and ``customrecjson`` with the same mimetype:
```
application/json: recjson
application/json: customrecjson
```