Added a synchronous way of loading configs. Changed deprecated dart:json to dart:convert