Silly me, Postgresql 9.2+ is required - otherwise the JSON datatype cannot be used.