Omit empty fields from the `/sync` response. Contributed by @deepbluev7.