private static @NotNull Map<String, String> parsePrices(@NotNull Map<String, Object> jsonObject) {
    Map<String, String> result = new HashMap<>();
    Object plugins = jsonObject.get("plugins");

    if (plugins instanceof List) {
      String currency = parseCurrency(jsonObject);

      for (Map<String, Object> plugin : (List<Map<String, Object>>)plugins) {
        Object code = plugin.get("code");
        if (!(code instanceof String)) {
          continue;
        }

        Double price = parsePrice(plugin);
        if (price != null) {
          result.put((String)code, currency + FORMAT.format(price));
        }
      }
    }

    return result;
  }
private static @NotNull Map<String, String> parsePrices(@NotNull Map<String, Object> jsonObject)