Not JSON format [SOLVED]

Why the answer is not in JSON format?


My hander script is:

header ‘Content-Type’, ‘application/json’
schema “events”
generate 10

Solution:
I need to set schema format to json