Extracting query sql in a YAML file and adding params for tags in the SQL