python/hl: return single GlobalValue as scalar/0-d array
Created by: germasch
That's what one should expect for a single value, not a list / 1d array with a single element. It is a change in behavior, though, though reading global values was only partially supported previously, anyway.
Fixes #1671 (closed)