BigW Consortium Gitlab
Fix json response in branches controller Closes #28898 See merge request !9710