shorter name for queues created during testing
better error handling for JSON parse errors
remove some changes made for debugging
add Accept headers to REST requests