Support PostgreSQL JSON datatype in models
Tests for PostgreSQL JSON data type
Stringify JSON objects when escaped
Avoid quoting attributes with PostgreSQL JSON operators