passing dog models from server to backbone