Fixed property type problem in lua serializer