switching to JSON for configs