Get comment search conditions from JSON