The linux app "galculator" converts floating point to binary.
I use it on opensuse and it works on mate, kde, gnome desktop.
It was installed from the opensuse repos through software management.
Open galculator. Go to view in menu. Click on scientific mode. Click on Calculator. Select Number Bases. Select binary.
I assume galculator is ...
Windows PowerShell (built-in to Windows) has a ConvertTo-Json command that you might be able to wrangle: