Fix treemap usage in "array" format