Hack pltjs to stringify the way I want
Support leading/trailing whitespace in input