added method to get MetaData for Entities