to_hash methods added to most elements for better access