make formdata an object instead