$def with (locations)
$# XXX $for location in locations: $# XXX
$pformat(list(dict(t) for t in trip))