[fix] Ensure that rendering direct references works as expected. e.g.: `{{ {{ ref }} }}`