Rest content json

Do this for put and patch and post