Simplified entity encoding