Created a base interface for serializer objects
Defined simple serializers for leaf fields and key tuples
Using key tuple serializers in {to/from}_json() methods
Refactored metadata.base.BaseObject: Created separate dictizer/loader/factory nested classes.
Refactored metadata.base.BaseObject: Moved validation into a dedicated nested class