add json dump capability