Preprocessor: Reuse help function that converts string to map