Loosen dependency on rest-client