read/write complex hash values