Removed serialize from API