Add stringify method

Particularly useful for keystonejs/keystone#735
No problem, I just fixed it.