Add support for marshaling simple types

- Still need to deal w/ buffer overflows