Fixing select formatters for non-Java languages. Fixes issue 6622