docs: @SuppressWarnings("unchecked")
      private static Map<String, Object> replaceWithLonghand(Map<String, Object> predicate) {
          Map<String, Object> accumulator = new HashMap<String, Object>();
  
          if (predicate == null || predicate.isEmpty()) {
              return predicate;
          }
          String operator = (String) predicate.keySet().toArray()[0];
          Object subPredicate = predicate.get(operator);
          if (subPredicate instanceof Map) {
              accumulator.put(operator, replaceWithLonghand((Map<String, Object>) subPredicate));
          } else if (negatedShortHand.get(operator) != null) {
              Map<String, Object> positivePredicate = new HashMap<String, Object>();
              positivePredicate.put(negatedShortHand.get(operator), subPredicate);
              accumulator.put(NOT, positivePredicate);
          } else {
              accumulator.put(operator, subPredicate);
          }
          return accumulator;
      }