Including keywords during compiling, but without commas

I’m using the <$keywords> placeholder to include keywords in my compiled document. When there are multiple keywords for a section, the keywords show up in the compiled document as comma-delimited. However, I’d like the keywords to simply be separated by spaces. Is there a way to change the separator for keywords in the compiling process?