Consolidate filesystem calls when applying collection operations in Repository::JsonSerializer