Uses date_of_visit instead of date
Uses dict instead of json.dumps