GPII-116: updated config loader to handle just JSON.