if the extra arg to pgloadind ends with .json, then the messages will be emitted as ugly JSON to that filepath