added [] around @todos to send a collection in json to backbone