Serde JSON in Rust: Serialization and Pretty Print