Added JSON serialization to Author and Comment classes