Simplify xml-json inheritance in compute

_interface just specified in the real test classes.

Change-Id: I40fc6fe4d1a00fa0d83c4343feba73e3192f0991
Merge "Simplify xml-json inheritance in compute"