Added JSON import support for cards.