<script>
    function prepareFormDataFromSerilize(selialize){
        let result = {};
        selialize.map(function({name,value}, index, arr){
            result[name] = value;
        });

        return result;
    }
</script>