Use page attributes for root and leaf in page tree serializer
Use page attributes for root and leaf in page tree serializer

Instead of calculating the attributes we read the values from the
record. This fixes issues with page sorting on some sites.

robinboening/alchemy_cms,AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,robinboening/alchemy_cms