Workaround dart2js issue and re-enable json parser test

TBR @devoncarew