updated phpDoc
added a default  Accept application/json header