proper way to assign JotForm array values in php