Check is key exists as is or converts it to symbol