Had to change the key to a map from a yang generated class to the object's ID.