If no command is specified, print collected data as json