updated json output to reflect number headers