implement the json paser for init file.