updates to cdp parser

import pprint and update parser