Fix status checks in machine controller specs
Make format optional in routes
Explicit format => json in machine controller spec