serialize missing data as null