Added parsing for card parents and children, with tests.