Added pretty printing and changed format of variables view