renderToJson broken in 3.2.5
**Expected behavior:** 

**Observed behavior:** when I update the version from 3.1.2 to 3.2.5 , report error "undefined is not an object (evaluating 'bridge.createStringMeasurer') "

**How to reproduce:**
![image](https://user-images.githubusercontent.com/15276351/83972652-fa7a1900-a913-11ea-8d6b-789e95bdb7ba.png)
![image](https://user-images.githubusercontent.com/15276351/83972659-05cd4480-a914-11ea-9525-041ae68822dd.png)

**Sketch version:** 66

But it work when i change the import:
![image](https://user-images.githubusercontent.com/15276351/83972808-de2aac00-a914-11ea-83ef-1948d0eaf668.png)
  May be related to this pr  #517 
