WIP
Implemented attribute processing
from previous merge
Implemented standard formatting for payloads
Implemented 'hidden' attribute & overriding option