added crab cfg json fixing