Use dashes in JSON API resource names

See bugzilla bug 1063550