[FIX] #8 - publish does not allow for JSON format

 - added -f format specified for publish call.
Merge remote-tracking branch 'darylteo/publish-format'