Set mime type of responses to application/json
Add noid limitations

because int64 can only represent so many numbers.