Adding card dealing logic and converting speadsheets json to simpler card json