WIP records: REST API addition

``RECORDS_MIME_OUTPUT_FORMAT_DICT`` -> ``RECORDS_MIMETYPE_OUTPUT_FORMAT``