private static void nodePut(ObjectNode node, String fieldName, Object value) {
        if (value instanceof Boolean) {
            node.put(fieldName, (Boolean) value);
        } else if (value instanceof Integer) {
            node.put(fieldName, (Integer) value);
        } else if (value instanceof Long) {
            node.put(fieldName, (Long) value);
        } else if (value instanceof Float) {
            node.put(fieldName, (Float) value);
        } else if (value instanceof Double) {
            node.put(fieldName, (Double) value);
        } else if (value instanceof BigDecimal) {
            node.put(fieldName, (BigDecimal) value);
        } else if (value instanceof String) {
            node.put(fieldName, (String) value);
        } else {
            node.putPOJO(fieldName, value);
        }

    }