Added #parse and JSON serialization