Provide an abstract interface to replicator stats

Switch to an ordered_dict() under the hood.

BugzID: 24298