VE-1467: Use {} insteaf of null with $.extend to ensure object is returned