Now serializing also components' positions