Changed name from toString to stringify, hopefully less confusing now