Improvements when extracting metadata

Metadata is only ever stored in the 'meta' dict (not the 'data' dict), so only check there for object properties