Changes required to get things to work properly with the z-rest python server.