Removing array aroud symfony text errors causing array to string