Fixed REST calls due to mongo IDs