add note about json serializability