Implement method `attributes`

Method has only an extremely bare-bones implementation. It is only capable of
populating entities that contain nothing but string-based attributes.