Small simplification

Remove a superfluous data copy
Adjust to changed core API and enable CompileStatic

Use the exposed types from core API to select to generate Double columns or string columns.
Enable CompileStatic and trim a lot of now superfluous code, as the new serialization is quite a bit simpler.