serializeKeyAttribute to handle more than just string