fix: Stringify entity when persisting to back-end

Code to stringify entiry being persisted was inadvertently left out of previous commit.

refs #95