Resolve issue where invalid JSON generated by the syncMessage stored procedure was preventing message fields from being returned in a sync