add json logger that includes method