WIP records: REST API addition

Is not possible to use e.g. ``Record.get_record()`` so that we can avoid importing these legacy functions as much as possible? Just wondering.