For use with POST methods that can handle JSON types
@override Map<String, Object?> buildMap() { return { 'queries': queries.map((e) => e.toSparseMap()).toList(), }; }