Fix several tests.
Apparently Ruby >= 1.9 uses String#inspect to join characters together, not String#to_s (?).
Support PostgreSQL JSON columns on a stack that actually returns JSON from the database as a Hash and accepts a Hash for storage.
Fix a couple small spec failures.