Use repr to transfer JSON-arguments, so Python doesn't eat things

Fixes transferring newlines in args:, as well as """.