PLA-451 changed to internal unserialize for method getMetadata