Better debug message
Update CONTRIBUTING
Use macro to build REST methods