Helper module for working with Erlang terms representing JSON