Bytes, ports and Uint8Array

Your advice is great I got it working all the way to the

I cannot get custom objects through Elm to HTTP file upload. I cannot get that value from JS to a elm/File. It would be perfect if I could. The best thing I was able to achieve is array of numbers which I serialize on the backend to a file.