get rid of isArray checks, default publishers to empty object, fix missing else, code formatting
get rid of isArray checks, default publishers to empty object, fix missing else, code formatting

thehunmonkgroup/openhangout,thehunmonkgroup/openhangout