Add wrapper for new output of Wikibase

Bug: 70069
Change-Id: Ief6649e7e92b627de484aeebde6c152d0afed7e6