10-15% speedup
as_string() speedup
remove pickle tests. it unstable between python versions
as_string() simplification