fixed json export