code: Serializer getSerializer(int index) {
      if (index >= serializersArray.length) {
        throw new IllegalArgumentException(String.format("The serializer can't be found at index %d", index));
      }
      return serializersArray[index];
    }
docs: Returns the serializer given the index.
  
  @param index serializer index
  @return serializer