(refactor) cleaned up api endpoint responses to remove duplicate data en...

...tries