ENYO-2027: Simplified the FormData generation

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>