ensure forked_from and revision fields are strings