4 answers
Hi,According to your statement "It does this to both SObjects and json encoded strings,", I am assuming this can give a possible explanation. Please take a look : https://developer.salesforce.com/forums?id=9062I000000QvOTQA0Regards,Krishna Avva