Trying to figure out better pattern for making REST calls...