make sure properties include type for proper encoding
fix animation frame