changed the null json value to empty array instead of string