You can prevent escaping by using @Html(Json.toJson(users)) in template.
@Html(Json.toJson(users))
Docs, last paragraph