fixed loop for creating json file in fuser.java