Support JSON postgres datatype

Also upgrade pg driver to support postgres v.9.3