changing layout variables into correct liquid format