JSON.parse() implementation for IE7 and earlier