add json request listener
validate object if is object