make physics serialization code nicer, add proper shape properties serialization