improvements to mustache attribute rendering