Converts source to string

Fixes #27