now, it works either passing a JSON, a Muppet model or an numeric id.