Fix Bug in JSON Builder
Slightly better build_json.py script