Add pretty print for json

but still can't avoid loading duplicated lib files....