for some reason in this version it adds a dot to the service type on return but the browser shows same result (only port changes) for both
except it seems the callback is not called for the pub_test.py case ??, anyway detabbed the line