add helper function for rendering two-column lists from mongo docs