Finish JSON stringification (closes #29)