Add model type to API response as collections may contain a mix of models