Holy shit it works
Cleanup variant_out
More cleanup
Start using a cache
Remove cruft
Fix memory alloc error
Create internal datatype; mostly working
Fix NULL handling
Don't bother with any original type output handling when original type was null