Add function to get metadata directly from view
Create a metadata array