Updated mongo example to convert to list