add demo programm which formats a json structure using cxxtools