class RequestHandlerUtils extends AbstractRestHandler {

    public String mapJSONtoMSOStyle(String msoRawRequest, ServiceInstancesRequest serviceInstRequest,
            boolean isAlaCarte, Actions action) throws IOException {
        ObjectMapper mapper = new ObjectMapper();
        mapper.setSerializationInclusion(Include.NON_NULL);
        if (serviceInstRequest != null) {
            return mapper.writeValueAsString(serviceInstRequest);
        } else {
            return msoRawRequest;
        }
    }

}