api.py comment deserialize