Make ShellCommand.last_result a dictionary like the results array