Fix logging of json messages from pmacct on console
Convert the test server from a script to a Grunt task.