First steps towards Json/JsonBuffer unification