support config replacements in yaml file, switch to smaller yaml parser