json creation modified