Fix pretty printed json

JSON files that are loaded via `@import "data.json?varname` can be pretty printed now.