fixing single element array as json
fixing STRATOS-383
fixing STRATOS-383