The logic for parsing a cell only supports the 'hasObject' flag. We must correct it to support all of the flags. See here. And the encoding logic, which may need some adjustment is here.