convert option keys to symbols