[jQuery] validation plugin : conflict with formsess because of "{"

[jQuery] validation plugin : conflict with formsess because of "{"

Hi
I'm having an issue with the validation plugin. It conflicts with a smarty-based php class named formsess.
It does not allow signs such as "{" in form tags.
Sounds like hell to go modify formsess, so I hope to find a way to change that in the validation plugin.
Could it be possible to replace class="{required: true}" with class="[required: true]" ?
thanks
-Olivier