I\'m creating a function (processElements) that uses a JSON object as variable (json_template). This function is in charge of generating an array o
processElements
json_template