made json input figure more readable