fix and clean up

fix: forgot to change index.js require dir.
clean: require directly .json file