allow convert attributes to ruby hashes for easy modification