Update metadata.js

1. Fix url (remove '?alt=json') so we can get XML content instead of empty JSON content; 
2. Fix mismatched metadata JSON properties readings (updated, title, rowCount, colCount).