Move globals treemap to global object