Added JsonUtils class to generate requests basing on payload type