pull attributes from tags into returned objects

just fucking kill me now

please...

someone...