WIP: Fix for ingesting timers - not all submetrics need to be present

While ingesting timers, not all submetrics such as average, min, max need to be mandatorily present.
Current code throws NPE if one of them is absent.
This PR attempts to make them optional. 

Converting all of them to their boxed type. In serializeTimer, only submetrics that are not null are added