Added check before forcing JSON.stringify
Merge pull request #1 from Fluidbyte/master

Added check before forcing JSON.stringify