added entity response to the JSON array