CB-6352: Allow FileSystem objects to be serialized to JSON