HSEARCH-436 Replacing PropertiesMetadata with proper objects and extracting annotation scanning from DocumentBuilders