Switch back to @const JSDoc annotation for the metadata object declaration.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>
Updated tests with '@const' instead of '@expose'

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>