refactors browse methods in registry service

I still need to do the actual changes for better data from couch, but let's review this first :-)