as_json WIP