replace hashed keywords to bracket keywords