add serializer support