Rust JSON validator and coercer