Move JSON helper function to CardsJson.hs