The template requires that we use search
Add SQL update script adding the 'pkgdb' in the list of type allowed
Fix json output