Changed url-pattern for metadata rest app from /* to /metadata/*