main reasons behind this: - make adding/removing tags cheap - make adding/removing fields cheap - make parsing cheaper - make parse -> decorate -> write out bytes metric flow much faster Refactor serializer to use byte buffer
allows for easier addition of a sliding window at a later time. Also makes `period` be a generic argument for all aggregator plugins.
closes #1726