latest pg has native json support
use pg 2.0.x and requires json_91 extension for pg 9.1