support build files in json directly