Improve 'Log.printColorfullyFromTextOrJSON' method