switch 'stringify' option semantics and added tests