add behavior when send JSON with application/json