add required option to JsonProperty