merging objects from proto when theres a superclass