updated the 07 agents to have a commont serializeTbl function