Including literal validators for ZObjects
A literal validator for a given ZObject is a normal validator that doesn't accept references, only an actual object of the type. Literal validators are useful for some backend functionalities that manipulate the actual objects.
Bug: T295677
Change-Id: I221abf0a9eb47b99b9e9a597fac7d92435dd08ab