Wraps JSON.parse and JSON.stringify with try/catch blocks to avoid breaking peoples apps