use json request helper in spec