added Record#to_hash_with_sym function