normalize cards data