String aVariableKey = "aKey";
String anotherVariableKey = "anotherKey";
List<VariableNameDto> variableNames = new ArrayList<VariableNameDto>();
VariableNameDto firstVariableName = new VariableNameDto(aVariableKey, true);
variableNames.add(firstVariableName);
VariableNameDto secondVariableName = new VariableNameDto(anotherVariableKey, true);
variableNames.add(secondVariableName);
Map<String, Object> variablesJson = new HashMap<String, Object>();
variablesJson.put("deletions", variableNames);