prefer serializeJSON

Like a boss.
make method more obviously private