adding json dump property to oarrclient record, and ability for /repository endpoint to provide json when url appended with .json