fix typo in when rendering the OGDAT-metadata specification

Also properly close a html table row </tr>
new API function

return metadata information for a single ID