There was a JSON.stringify here that caused the trouble.