Fix bug in `get` for postgrest backend.

It was returning binary PostgreSQL keys instead of the keys given.

Adds a regression test.