i like to define magic strings as constants or enums (i know you didn't start this trend here and wouldn't block merge, just suggesting. other devs actually prefer magic strings, and when you have to integrate with something in couch/js it already forces some annoying coupling you can't get around).