add example for binary key serializer