def environment_variables=(environment_variables)
      JSONEnvironmentDataSource.file_semaphore.synchronize do
        content_to_store = environment_variables.map do |current_environment_variable|
          current_environment_variable.to_object_dictionary(ignore_instance_variables: [:@value])
        end