Fix json decode in form constraints options