deserialize cards and the default-card from JSON