Use true JSON request for /rest/sync.