Add support for smart stringify / numify.

This means that decont is also tested (and found to work).