Parse action attribute
Account for namespaces
Account for potential of nil objects when converting
Hardcode human-friendly names and cleanup namespace handling