normalizing api responses, messing with tests