Fixed json template to match with adding attribute into json