Restrict info in response from locations API if no device id