Fixed bug in convertToDictionary

Bug caused convertToDictionary to return just a single card’s suit and
rank.
Now it returns the suit and rank for all 5 cards.