Return BOTH Location header and JSON representation from a successful item creation. Also a bit of code cleanup.