make locale data serialization in ingest.generate_artifact clearer