settings: Extend parser so we can parse settings from a string