Lines to JSON Array

Convert each line to a JSON array element.