Remove unsued function defintions
Add support for python3 function annotations
Add different variants of the update_json example