Improve field-type support in create calls

Check the type of fields being populated in create calls and convert
values to the correct type.
Merge pull request #24 from cwarden/field-type-support

Improve field-type support in create calls