Fixes for UI arch and compute-resource related test-cases.

`create_json`