CoreData [Int64] transformable, transform to usable array outside of Swift

I have a CoreData entity with various values. Sometimes I want to export the values to Json to share with another app. My Transformed [Int64] turns into data.
How can I transform it back? For instance in javascript?