Can't store JSON as string DQL

The problem is not the bracket but the escape quotes. Double escape them.