Run commands from sensu syntaxed json and return exit code