Add list of subspaces to json data