add log4j and json dependency