With very few exceptions, all tables in Koha should load data from the REST API. This would simplify the code and improve page load times.