[server][RestResourceHost] use g_hash_table_host instead of getParam<T>

Because getParam<T> does not treat std::string.
This function is able to parse number literal only.