Split nest api and nest data object