Added a custom utility method to convert a Map to request body for POST operations