Defaults in rest.py makes prestans crash gracefully