fix_header checks for "cards" attribute first. Also check if "keyword" attribute is present for a card.