Rest entity service returns an array with data, rest controller returns the correct response