Fix specs using JsonStream