class QueryResults {

    public Map<String, List<Object>> copyData() {
        Map<String, List<Object>> newMap = new TreeMap<>();
        resultsMap.entrySet().stream()
                .forEach(entry -> newMap.put(entry.getKey(), new ArrayList<>(entry.getValue())));
        return newMap;
    }

    public  QueryResults(Map<String, List<Object>> data);

}