check response is dictionary / remove prefix