Parse string variables into mapper functions