I want to fetch data from several collections and append that to a json output. Have done it in Python(flask and pymongo) but want to use Vibe.d.
Is it possible to do someting like this in vibe.d or rather get the same end result.

Example on how it looks right now in Python:

output = []
common = mongo.db.common //
for q in common.find():
    output.append({'aktcel': q['aktcel'], 'nxtcel': q['nxtcel'],'aktopr': q['aktopr'],'nxtcpn': q['nxtcpn']} )

celltab = mongo.db.celltab
for qc in celltab.find({'number': q['aktcel']}):
    output.append({'aktname': qc['name'],'t1': qc['t1'],'t2':qc['t2'],'t3':qc['t3'],'t4':qc['t4']})


for qnc in celltab.find({'number': q['nxtcel']}):
    output.append({'nxtname': qnc['name']})


return jsonify(output)

I can explain a little more about it if it's not clear what I mean.