clone the hash before parsing