adding json validation content-type