making it json content type restricted