add json2 for raven support