[support] How to generate a correct JSON response?