Add JSON races index action
Provide json interfaces and tests