Returned php array from validator service instead of default json response