Changed decoder to simple str and removed encoder