Storage of key-value items using Postgres hstore