allow passing options to stringify as an object