I think the previous one is better given these two options, but along the lines of your edit, how about if we do something like: 

      {
         // ...
         resources: { "db": <name> <, collection: <name>> }
         // ...
      }

or something that prototypes a resource document a little bit more clearly.