Don't allow args to be longs, msgpack does not like this and jids

should always be strings
Merge pull request #16764 from thatch45/16762

Don't allow args to be longs, msgpack does not like this and jids