Mac ImageJ old-style macros need to be executed in Java UI thread
issue #996 json serialize of empty int numpy array fails + test