more logic
Added other fields - Printing out JSON.