Fix vzlogger error on JSON POST introduced by last commit

Issue originally introduced by https://github.com/andig/volkszaehler.org/commit/b111cfa2d2d3e34203fd61cd470d8685c3991d26