Parses a JSON input string into a name→value map. Returns an empty map if input is blank or cannot be parsed.