[server][HAPI JSON] Add missing const