Some fixes to output of read_and_validate_data

Change-Id: Id5c2b01f11d1926b4b61452e760495b2e103e4b6