public static void set(final ObjectNode node, final String fieldName, final JsonNode value) {
        if (value != null && !(value instanceof NullNode)) {
            node.set(fieldName, value);
        }
    }
Sets a field of an ObjectNode, but only if field value is not null
main/src/main/java/cgeo/geocaching/utils/JsonUtils.java