REST API: Return null instead of empty array.

This way we can treat any valid update as an object. props @rase-