Add Entity#to_h - old version

Closes #94