check arguments
move to python, mainly for json comparison
more tests
needed by test script
serialize court without pk or model fields