use fs-extra for readJSON
code style