set up stringify and parse methods for an object argument instead of the global JSON variable directly @coryvirok