Scene serialization

How can i serialize a PlayCanvas scene and load it again properly?