Refs #26 - Don't include empty, null, or NaN values in request.
Remove duplicate code.
Merge pull request #26 from synapsestudios/bugfix/26-empty-ints-included-in-requests

Empty values for integer fields are passed in the request with null values