added override for global JSON.stringify