making it possible to use json again, without eval & chrome app compliant