OP, have you not tried installing Roon Bridge on your Moode installation? Its pretty straight forward and makes your Pi running Moode into a Roon endpoint. No need for man-in-the-middle solutions...
https://kb.roonlabs.com/LinuxInstall
https://kb.roonlabs.com/LinuxInstall