Format cards.json