core: download metadata with JSON accept header