Added recursive get for metadata