Replacing uuid field with json api endpoint