serialhelper class added some utils methods