small changes to json call
separated layout