How can I retrieve attributes from a resource record - Ash Framework