Correct the type ambiguity that occurs when deserializing in an environment that has multiple beans mapped to the same Salesforce object. Also corrected the byte counting.