rewrote osmosis pieces to use hstore