docs: public static Map<String, Object> curryDelegateAndGetContent(Closure<?> c, Object o) {
          JsonDelegate delegate = new JsonDelegate();
          Closure<?> curried = c.curry(o);
          curried.setDelegate(delegate);
          curried.setResolveStrategy(Closure.DELEGATE_FIRST);
          curried.call();
  
          return delegate.getContent();
      }