Refine JSON to remove un-used data