Add Entity#to_h - old version