merge existing translation and implement pretty print. BUG: removing trailing comma