Fix edn encoding and display of calculated fields.

Fixes #422