Light-weight object to string formatter.

Tests passed fine, but would love more eyes on this since objects in js are a pain in the ass.