Added example of how to add attributes in json format