change default credentials path and use json