Added {to/from}_json() methods to interface metadata.ibase.IBaseObject