Now I can deserialize ints.
It's probably horribly slow, but it's kind of cool.
I didn't test the other types yet, but this is good enough for now