Set default value for JSON fields
Changed the way of managing data argument for site logs to be JSON compatible