coerce to string before encoding the entities
0.2.2