use JSON balanim format instead of luatable

this makes more sense and is less hacky