Fixed Promise serializer