deal with null value in source json