Add Relation#to_hash