Fix json not automatically included in lib