More work on adapting db objects for js_admin