[1016578] Fixed null value handling in union stringify