implicit def toJsonArray