Switched over to using lightweight "resource" module for interacting with REST API.