Converts style objects to strings