Added json config support, use labels instead of count, some listener crash fixes