[api] replace linked_packages with backend_packages

Also saves md5sum for all packages not just links