Maybe start from one of the already existing standards https://en.wikipedia.org/wiki/S-expression#Standardization ?
Maybe start from one of the already existing standards https://en.wikipedia.org/wiki/S-expression#Standardization ?