format json file + ignore message for hidden files