Drawing widgets from JSOn file