How President Trump thinks like a journalist