Adding a test for JSON support before stringifying values to put in the database. Avoids issues on iOS 3.2 where there's sessionStorage support, but no JSON.