Fixed JS escaping of objects.