The TimeseriesPersistOperationBuilder takes the Opennms objects (e.g. Attributes,
ResourceIdentifier) and transforms them to Newts Objects (Samples). In Timeserieswriter we again transform them to Timeseries Objects (Metrics).
This leads to the creation of a lot of temporary objects There is no real reason for the double conversion except for historic reasons (teh code was originally a copy of the Opennms Newts code).
TODO: research if we can remove the Newts objects and do only one transformation.