Consolidation of multiple SObjects into one