update to BookHelper to serialize book page chatcomponent data, added a serialize method to ChatComponent and added compileChatComponent and deserialize methods to ChatComponentFactory