intialize metadata earlier, so that loading sitecollector directly works