fixed a bug when a format exception is thrown in Task command
added json format to nodes and roles command
* now task data in json returned by task command is indexed by the name of the task
Merge pull request #30 from pitpit/feature-json-format

Feature json format