data serialization of the numeric matrix