Fix #187, Reference to named objects/collections should be serializable