ObjectClassification: Convert labels to 'int' before exporting to json.