Issue #1960118 by joachim: Changed create and update resources to return the entity rather than the ID.