Removed extraneous print() commands
Added json header to token redeeming method