CAMEL-7323: createRouteStatisticEndpointJson - Returns invalid json if no routes