Added toString to avoid octet stream issue