refactor: fix deprecation warnings; scrap Object interface and ManuscriptVersion type
Various fixes to resolve deprecation warnings and other warnings. This is basically a second attempt at !422 (closed) after that MR got too out of date and was abandoned.