add required option to JsonProperty
Merge pull request #6 from dannyroberts/required

add required option to JsonProperty