More JSON

Fixed some additional dependencies related to the new JSON
implementation. Corrected for card selection, locking, and flipping.