Redundant JSON serialization/deserialization operations removed for simple types. Serialization logic extracted to utility class.