Added api json documentation output to /data endpoint.