Add Hive statements for merging json documents