fix no json output issue. see what will happen on travis