adding support for field conversion.

Class mutator to convert objects into Field instances. Will add a
property to the resource of the field and add a reference to the resource
on the field