Fix for API requests which include id (e.g. activities)