hashes and arrays can be serialized by JSON's dump