Serialize into/out of with indifferent access hashes