add locals to payloads + tests @brianr