Rest API returning JSON, Create Document OK and Count OK