Convert to card structure.