code: public <T> void addSerializer(final Class<T> clazz, final JsonSerializer<T> serializer) {
          this.jacksonModule.addSerializer(clazz, serializer);
      }
docs: This method gives the opportunity to add a custom serializer to serializer
  one of the highchart option classes. It may be neccessary to serialize
  certain option classes differently for different web frameworks.
  
  @param clazz      the option class
  @param serializer the serializer responsible for serializing objects of the option
  class.
  @param <T> the class we need a serializer for