Changed to give the influxdb series name as the first word of the servic...

...e field
You should try to pick an encoding that preserves as much information as possible, and provide a custom formatting function option so users can override it. The Graphite client, for instance, encodes spaces as dots, with some exceptions for things that look like floating-point numbers.