Implemented parsing of json extensions by rewriting the json DOM tree