added parseDump() function with unit test