Issue 2581 -- support for postgresql json type

Very simple, based on the HSTORE data type.

I added support on the type itself for custom serializer/deserializer, and a different json module can be monkey patched in and will work properly (assuming it is api-compatible with python's json module, which most of them are).