Function created the brings JSON object of the trucks