LPS-48802 better jsonws hint number detection

Minor improvement