or just add on your attribute
@JsonInclude(JsonInclude.Include.NON_NULL)
example:
@JsonProperty("mapIDs") @JsonInclude(JsonInclude.Include.NON_NULL) private List<Integer> mapIDs;