rebuild lua bindings
fix json export
add a script to reset submodules