ctl: fix crash when listing in struc format
 - example: kamcmd core.sockets_list