Optimized FormDecode and fixed issue with empty string returning a dictionary with an empty key