generate_payload() generates Json by default
Merge pull request #1 from ii000314/master

generate_payload() generates Json by default