erp5_test_result: Allow TestResult_getJsonScalabilityStats to get integer and string.