Initial version. Prints json for cards in correct quantity, four per page.