underscore js for getting tags into right format from server