issue #11 - record in JSON format