Contrib for RESTo v2 (https://github.com/jjrom/resto2)