Trying to clean up and organize .stringify() a bit