trim unused fields in result json