             msg.send "Action has failed to execute"
             return
 
+          result = JSON.parse(action_execution.result)
+
           msg.send "STATUS: #{action_execution.status}"
-          msg.send "STDOUT: #{action_execution.std_out}"
-          msg.send "STDERR: #{action_execution.std_err}"
-          msg.send "EXIT_CODE: #{action_execution.exit_code}"
+          msg.send "STDOUT: #{result.std_out}"
+          msg.send "STDERR: #{result.std_err}"
+          msg.send "EXIT_CODE: #{result.exit_code}"


formatCommand = (command, type) ->
  line = "hubot run #{command.name} "
  for arg in _.keys(command.parameters)
    line += "[#{arg}] "
  line += "- #{command.description}"


        msg.send "No such action: '#{command}'"
        return

      expectedParams = _({})
        .assign(actiontypes[action.runner_type].runner_parameters)
        .assign(action.parameters)

      actualParams = parseArgs(expectedParams.keys().value(), command_args)

      payload =
        action: action,
        parameters: _({}).assign(expectedParams.value()).assign(actualParams).value()

      httpclients.actionexecutions
        .header('Content-Type', 'application/json')
