User Class, Conversion from JSON to SQL