GetFilteredStatements working using json input