[IT-5495] Fixing bad attribute reference and improving data bag terminology in variable names