app/services/checklist/json/index_content.rb
module Checklist::Json::IndexContent
def content(json_file)
json_file << @taxon_concepts_rel.active_model_serializer.new(
@taxon_concepts_rel,
:each_serializer => Checklist::IndexTaxonConceptSerializer,
:authors => @authors,
:synonyms => @synonyms,
:english_names => @english_common_names,
:spanish_names => @spanish_common_names,
:french_names => @french_common_names
).to_json
end
end