private static void set(final JsonNode parent, final Action1<String> setter, final String... fields) {
        for (String field : fields) {
            if (parent.findValue(field) != null) {
                setter.call(parent.get(field).asText());
            }
        }
    }
uses the first available field content to call the setter method
main/src/main/java/cgeo/geocaching/address/OsmNominatumGeocoder.java