For some reason, the track id was a QDbusObjectPath, but somehow that caused issues, so I'm breaking the spec and simply changing it to a string. Now SailfishOS does display the MPRIS controls on the lockscreen.