code: private Object expandResultMapSubItems(VertexiumCypherQueryContext ctx, Object value, ExpressionScope scope) {
          if (value instanceof Map) {
              Map<?, ?> map = (Map<?, ?>) value;
              Map<Object, Object> result = new LinkedHashMap<>();
              for (Map.Entry<?, ?> entry : map.entrySet()) {
                  if (entry.getValue() instanceof CypherAstBase) {
                      CypherAstBase entryValue = (CypherAstBase) entry.getValue();
                      Object newEntryValue = expressionExecutor.executeExpression(ctx, entryValue, scope);
                      newEntryValue = expandResultMapSubItems(ctx, newEntryValue, scope);
                      result.put(entry.getKey(), newEntryValue);
                  } else {
                      result.put(entry.getKey(), entry.getValue());
                  }
              }
              return result;
          }
          return value;
      }
docs: /*
  This method will expand return items such as
  
  RETURN coalesce(a.prop, b.prop) AS foo,
  b.prop AS bar,
  {y: count(b)} AS baz
  
  In the above example {y: count(b)} in the map this method will expand