sequelize/sequelize — pull request #695 by tadman (2013-06-12 21:47:38+00:00)
Title: Fix HSTORE encoding by using pg-hstore library.

The work involved in properly encoding an HSTORE attribute is surprisingly complicated, but the [pg-hstore](https://github.com/scarney81/pg-hstore) library does a good job of implementing it correctly.

That project is MIT licensed, so it should be possible to internalize the relevant code inside Sequelize and give credit to the original author.