ATN serializer

* Move ATN serializer to runtime
* Use `ATNDeserializer` methods instead of `ATNSimulator` methods which are now deprecated