fixup: Handle when we have empty json passed
Created by: tjdevries
After implementing a change in the https://github.com/sourcegraph/sourcegraph/pull/32084 I realized that we weren't handling this in the frontend correctly.
This solves the problem (I will do a better fix later)
Test plan
Load up sg w/ a syntect language and make sure it loads now.