Made a start on Entity and Component serialization