json and log libs add