Add helper to construct a comma separated list of object IDs, for creating queries