modified response to returnn objects instead of lists if length of said list is 1