SQLAlchemy integration

SQLAlchemy has json support for postgres but I'm not sure how it works with older versions. See http://docs.sqlalchemy.org/en/rel_0_9/dialects/postgresql.html?highlight=json#sqlalchemy.dialects.postgresql.JSON