controller obj -> dict