add serializer utility