Fixing duplication output for GET requests