fix for tests dependence on JSON