Deserialize hashes properly.