Added metadata section for intermediate results JSON.