Hi.
This is an extra "A" character at the end of JSON data just after the last "}".
It is a bug appeared when server switched to non-blocking IO.
What OS afserver is running? Have you turned on linux epoll facility?
For now, if you need correct JSON you can just cat off everythin after the last "}", when JSON object finished.