updates and adds	to json methods