layout for json reponses