Parse hashes