Related fields are serialized for object instances and sets
Added ToResourceField

- ToResourceField acts like ForeignKey for resources
- Fixed how Resources serialize/unserialize data