change id of race import from name to pk
add try-exept to parse json