adding conf sample and working on the json data structure