cleaned up REST API debug output a little