Wrap api response to ArrayHash only if it's not scalar