replace - with _ in series names
PR feedback, and move write-loop to async namespace