Implemented JSON.stringify and cleaned up console logs