Server/JsonUtils: Add toJsonArray() overloads
Server/JsonUtils: Add toJsonArray() overloads

toValue() functions defined after the toArray()
template are not available as is.

As a workaround, add an argument to pass the needed toValue() function.

Kaffeine/telegram-qt,Kaffeine/telegram-qt,Kaffeine/telegram-qt