List<Map<String, Object>> resultList = new LinkedList<Map<String,Object>>();
List<FieldVariable> fieldVars = fieldAPI.getFieldVariablesForField(fieldId, user, respectFrontendRoles);
for(FieldVariable variable : fieldVars) {
Map<String, Object> variableMap = variable.getMap();
User variableLastModifier = userWebAPI.loadUserById(variable.getLastModifierId(), userWebAPI.getSystemUser(), false);
String lastModifierFullName = "Unknown";
if(variableLastModifier != null)
lastModifierFullName = variableLastModifier.getFullName();
variableMap.put("lastModifierFullName", lastModifierFullName);
resultList.add(variableMap);