Simplified debug output for structures

And now using zsys_ logging for all output