Change some json endpoints to use .json extension and rabl. refs #1414