code: Object asJSON() {
          final List<Object> json = new ArrayList<>();
          for (Join join : joins) { json.add(join.asJSON()); }
          return json;
      }
docs: ---------------------------------------------