json changes
full JSON support - this required heavy renaming and makes this version incompatible with previous ones