Update parse.py to use serializer sanitizer