CORE-5693: Added the isFavorite field to the JSON returned by the directory listing endpoint.