* Fix .json import error This is a regression we've added by #926 (tree-shaking-support) * Add a test case.