added jsonreadingoptions to client