Flatten ContainerStats struct

We should check if network stats is available for this container before pushing it to influxdb. May be check spec.HasNetwork is true?