fn parse_input(input: &str) -> Result<Value>