Change return type of getField from reference to value.
Merge pull request #283 from abellgithub/getfield

Change return type of getField from reference to value.