Only deserializate data when it is not nil