Added first step to convert raw to config in JSON format
Added prototype of to_dict()