Rename api constraint version to revision
Register json api mime type