Bucket-typed buckets access properties of untyped bucket [JIRA: CLIENTS-61]

Should you not `maybe_encode` the type as well?