add `stringifyObjects` option

fixes #501
Merge pull request #502 from tellnes/stringify-objects

add `stringifyObjects` option