pub fn parse_credentials(credentials_json: &str) -> HashMap<String, String>Expand description
Parse engine credentials JSON into a string map, coercing JSON scalars
(numbers, bools) to their string form. Fixes #58: a single
{"numSteps": 16} (JSON number) no longer silently empties ALL
credentials — it coerces to "16" like the engine code expects.