added url field and replaced xml metadata with json metadata