remove array typehints; messes auto-escaped objects