Generate compressed json format