Added backslash escaping (trust me we needed it)
Fixed sending of JSON (joins all names by '\n')