unnecessary serialize/deserialize for cases where no conversion was performed

Incorporated the review feedback.