public Object expand(Object input) {
        if (input instanceof List) {
            expandList((List<Object>) input);
            return input;
        } else if (input instanceof Map) {
            expandMap((Map<String, Object>) input);
            return input;
        } else if (input instanceof String) {
            return getJson((String) input);
        } else {
            return input;
        }
    }
Expands a JSON object into a java object

@param input the object to be expanded
@return the expanded object containing java types like {@link Map} and {@link List}
core/src/main/java/com/netflix/conductor/core/utils/JsonUtils.java