Better variable interpolation when keys are missing