added getDict() to Trip