Now works with actual mongo data. Still need to verify the spec.