correct json_concat in case of empty file (refs #4273)