code: public static <C> Collection<Data> objectToDataCollection(Collection<C> collection,
                                                                SerializationService serializationService) {
          List<Data> dataCollection = new ArrayList<Data>(collection.size());
          objectToDataCollection(collection, dataCollection, serializationService, null);
          return dataCollection;
      }
docs: Converts a collection of any type to a collection of {@link Data}.
  
  @param collection           the given collection
  @param serializationService will be used for converting object to {@link Data}
  @return collection of data
  @throws NullPointerException if collection is {@code null} or contains a {@code null} item