Multiple Collections: PopulateJSONFromDb

PopulateJSONFromDb code now working with new schema. Multiple
Collections are otherwise still a WIP. For example, new account
registration broken.