Refactor binary serialization code from asset compiler/loader into SerializeHelper and DeserializeHelper util classes