Add serializer to visualize parse result