de-nest the positions api endpoint