Added PublishJSONCommand and PublishJSONCommandFactory classes.
Merge pull request #59 from dinemont/json-generation

Added PublishJSONCommand and PublishJSONCommandFactory classes.