initial logic behind doing this was that the db object should not know how to access github payload objects, that's the job of the github plugin.

I could change it now, but do you think it would be better if I generalize the functions into things like, `insertPayload` and `findPayload`? Each one could take an object of search params & a collection name.