this too in `app_to_dict`