fix JSON response for groupchat methods