fix dropdown and added json pretty component