[fixes #48415187] Modified the objectToXML to check for a value of "request", If there is a request then the XML gets formatted like normal such as: <someVal></someVal> But, if there is a response, the XML remains as it was modified a few months ago so that it returns <someVal xsi:nil="true"/> so that machine requests function the same.
Merge pull request #5 from ifit/80f4370e6cd69922f8d007eec07f99cb7b7d16e6

[fixes #48415187]