code: @Override
      public void doSerialize( JsonWriter writer, M values, JsonSerializationContext ctx, JsonSerializerParameters params ) {
          writer.beginObject();
  
          serializeValues( writer, values, ctx, params );
  
          writer.endObject();
      }
docs: {@inheritDoc}