Rest extensions

I think for the case where the item exists, but is not a group item 400 is valid, but for the null case (which is at the moment implicitly also checked) we must change it to 404. I will change it.