Removed unnecessary JSON serialization