Support for hash-based configuration for 'command' modules

This adds support for hash-based configuration for 'command' modules:

command:
  - args:
      - /bin/echo
      - hello
      - world

command:
  - args: /bin/echo hello world

command: /bin/echo hello world