JSON based UI framework