Deprecate getMapMetadata, provide getTableMapMetadata

Also deprecate userFromHostname