updated style to json loader