problem with jersey array with one element may be resolved