Updated to work with an object per line, in case a tool is used that doesn't create a whole valid JSON file, but rather a valid object per line