json.(journal, :id, :notes, :comments_count)
json.created_at journal.created_on.strftime("%Y-%m-%d %H:%M")
json.updated_at journal.updated_on.strftime("%Y-%m-%d %H:%M")
json.user do 
  if journal.user.present? 
    json.partial! "api/v1/users/simple_user", user: journal.user
  else 
    json.nil! 
  end
end
json.reply_user do 
  if journal.reply_journal&.user&.present?
    json.partial! "api/v1/users/simple_user", user: journal.reply_journal.user
  else 
    json.nil! 
  end
end
json.attachments journal.attachments.each do |attachment| 
  json.partial! "api/v1/attachments/simple_detail", locals: {attachment: attachment}
end