JSON filter: fixed typo ("next" -> "return")