Encode empty objects