clean-up response message parsing