First version of a JSON serializer / deserializer utility