fix Issue 3404 - JSON output should retain original alias names

http://d.puremagic.com/issues/show_bug.cgi?id=3404

Trying to break https://github.com/D-Programming-Language/dmd/pull/1179 into manageable chunks.