Accept immutable strings as AA keys in serialize!().