This was basically the answer I was looking for. I didn’t know how to save the objects themselves so I opted for the conversion method of just saving the coordinates. I will be trying to implement this later on.
If I don’t get it to work, I’ll do what the other guys said and extend my question with more code and information. It’s quite difficult tho because it already is quite a big project.
Thanks for all the quick answers. ^^