Minor fixes

I had to move the JSON_DUMPS_ARGS to a separate package so it could be installed correctly. I also fixed some logging, an encoding problem and a typo in the JSON_DUMPS_ARGS variable