feat(serialize) serialize directly into a string

fixes #6
Merge branch 'serialize_to_string' into development