JSON serialize/deserialize function.
This module can be used as the value of the serde(with) attribute (i.e., #[serde(with = "htrpc::json")]).
serde(with)
#[serde(with = "htrpc::json")]