Condition for better displaying json in /trans