code: private String parseResponseAlbumIds(String json) {
      StringJoiner sj = new StringJoiner(",");
      try {
        JsonNode jsonNode = this.objectMapper.readTree(json);
        for (JsonNode node : jsonNode.get("albums").get("items")) {
          sj.add(node.get("id").asText());
        }
      } catch (IOException e) {
        throw new RuntimeException("Failed to parse JSON", e);
      }
      return sj.toString();
    }
docs: Parses the album ids from a JSON response from a
  <a href="https://developer.spotify.com/web-api/search-item/">Spotify API search query</a>.
  
  @param json The JSON response
  @return A comma-separated list of album ids from the response