Previously, if a field was marked as optional and it appeared in a payload with a null value a failure would occur if the field's type was configured to be a JsonFieldType other than NULL. This commit relaxes this restriction so that a null value is tolerated when a field has been marked as optional. Closes gh-365