Refactor some stringify methods so we can re-use parts of it
Add a low-level test applet