added build_stack.sh script to convert stack.ml to stack.json