FormObject to hash