Adds a command to dump device information to json