Output -l as JSON