Remove som debug calls
Fix /rest/listbooks, broken by the introduction of files