* Add efficient pagination support
    https://www.depesz.com/2011/05/20/pagination-with-fixed-order/
    https://stackoverflow.com/questions/6618366/improving-offset-performance-in-postgresql
* Generic file model
    https://github.com/jpvanhal/silo
* Query to Postgres JSON converter
    https://hashrocket.com/blog/posts/faster-json-generation-with-postgresql
* Postgres Cube datatype:
    https://www.postgresql.org/docs/current/cube.html
