Add stringify method

Particularly useful for keystonejs/keystone#735
@JedWatson Woops, accidentally included a two-spaced soft tab. Sorry!