LPS-51275 Serialize form before ajax call