Separate JSON from extension JS