private void expandList(List<Object> input) {
        for (Object value : input) {
            if (value instanceof String) {
                if (isJsonString(value.toString())) {
                    value = getJson(value.toString());
                }
            } else if (value instanceof Map) {
                expandMap((Map<String, Object>) value);
            } else if (value instanceof List) {
                expandList((List<Object>) value);
            }
        }
    }
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