added json handler and urlencoded handler for split the different handling of the content type