This commit fixes an error in the Python interface of the model.
Commit da2c2d3ca introduced two new overloads of the Model::dump() function.
However the interface only assumed one, thus the compiling resulted in an error.
This commit extend the interface by adding the two other interfaces and distinguish between them by the use of ps::overload_cast.