title: How to Stringify a sObject
body: <p>I have a list of sObjects and I'd like to convert all the sObject fields to a string. For instance (this is the print out from a SOQL query), </p>
  
  <pre><code>Custom_sobj__c{
    "serId": 5,
    "value": {
      "Id": "a0FJ0000005zIbwMAE",
      "Contact__r": {
        "serId": 6,
        "value": {
          "Name": "Bob Bobenson",
          "Owner": {
            "serRefId": 4
          },
          "Rule_Class__c": "Class III - Quote\/De (2 more) ...",
          "OwnerId": "005d000000450RiAAI",
          "Id": "003J0000016ZjuCIAS"
        }
      },
      "Contact__c": "003J0000016ZjuCIAS"
    }
  }
  </code></pre>
  
  <p>And I have a list of these objects. I'd like to convert it all to string, so it looks something like this:</p>
  
  <pre><code>...'sobjInstance3{"serid";5,"value":...}','sobjInstance4{"serid";5,"value":...}',...
  </code></pre>
  
  <p>I have a for loop iterate through the list, </p>
  
  <pre><code>String strSobjects = ' ';   
  
  for(Custom_sobj__c obj : sobjList){
      strSobjects = strSobjects  + ','+String.valueOf(obj);
  }
  </code></pre>
  
  <p>but this only returns the "ID" and "Contact__c". The string is getting the "Name" or "Rule_Class_c" fields.</p>
  
  <p>How can I grab the rest of the data?</p>