Trying to generate html from json