json support added to Deck interface