fix(router): use string instead of JSON

This format can be consumed without structured data handling. For
example, bash has no builtin commands which handle JSON data structures.