Updated the module to accept post data contain json to define the conversion