corrected the json def for the bin file