Add support for Postgresql JSONB

[Philippe Creux, Chris Teague]