Why don't you return json data when you finally return the result? After all, if you return data, anyone who calls your interface cannot use it