added serialization with untyped picklers
fix build with EMIT_IL disabled