Don't import JSON imports when file has no JSON writing types.