use json for config file