convert setting file into json format