Add agnostic writers for influx and postgres