Parse HD and ZZ records