Updated CLI to optionally provide the full-JSON representation of a card

re-done pull request after merging upstream in. Tests all pass after merge, including the new CLI tests.