Add Line->key and JSON export