cleanup uneeded json