We have a storage extension deployed on DXD side of an SDL Docs Implementation. The extension extends
ComponentPresentationDAO class. On the Create method, it gives me an object of type "ComponentPresentation" on publishing. By converting this object to string it gives me a serialized JSON representing the published Component Presentation (as shown in the pic below).
Everything looks fine in the JSON except it has "MetadataFields" always set to null for the Component (Topic) inside the Component Presentation. The component(Topic) has some custom metadata in CMS and I expect the same custom metadata to be reflected in the JSON.
Any idea why the custom metadata is not appearing in the JSON