Simplify datafield#to_hash