fix if there is .json in current working directory
add utf-8 to header
use double-dollar to replace single-quote