mongoHQ implementation to work with mongodb collections