add rest-client requirement plus debug info