check the unionid key exist to fix the json exception

A fatal fix. Please release a new version.

I'm so sorry for the previous pull request.