Fix #13277 - Base class in JSON output is always unqualified

This fixes [#13277](http://issues.dlang.org/show_bug.cgi?id=13277) as well as expands the names of the interfaces it implements.