Not sure if this would be better added here or to component-ls, but would you accept a pull request to either, to add a json output type ?