Jackson not ignoring null objects in json array

Im using the JacksonConverterFactory from Retrofit2 to convert my json from the server to objects. But because im unsing realm the RealmList objects shouldn´t be null. I have tried to .getSerializationConfig().withSerializationInclusion(JsonInclude.Include.NON_NULL); but it looks like he still tries to add null values to the RealmList.