Created builder for influxdb series (need to move it). Slight cleanup elsewhere.