Access to elements' Notes

I’d like to generate application documentation and as one of the best option seems me using Notes, which are available for avery element in
Idea is to have Notes available in data structure tab in simple structure: note_id, element_id, element_type, element_name, parent_element_id, container_id, container_name, note_text
Where parent_element_id is quite optional, and container means page or reusable element
Posted also to Ideaboard []