first draft of output JSON format