replaced \n in JSON objects