Bugfix Xamarin platforms for Json body request

When posting a Json body request (no key parameter) there was an error
“Could not determine JSON object type for type xxx” on Xamarin Android
and iOS platforms. Added a check for the particular situation and
serialise the object as the body immediately.