Change stack formatting in npm

- Adds saner stringify for objects
- Allows full path printing for file name and defaults to on

/cc @vanchi-zendesk @mixu