added json serialization of page annotations