Adds new as_json method, and parses item on ko side