remove ArrayAccess, JsonSerializable from the public part of FileInfo