fix graphite listener payload serialization (fixes #415)