added ability to load metadata from json objects on top of the page