Properly format keywords