libraries/singularity: use q.all() for when building routes