Undefineds fixed. formData is now always json object!