handle case of single object pushPayload
Merge pull request #1629 from tpitale/single-push-payload

Handle case of single object pushPayload