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

The fifth element in the stack was always in transform.js, so I bumped it to the sixth.