fixed a bug when a non required field is not provided
Merge pull request #27 from boblefrag/avoid-to-break-on-non-required-fields

fixed a bug when a non required field is not provided