Made dictionary <-> tuple conversion to allow missing fields.