Generic deserializer from JSON
The JSON string to parse
Function to reconstruct the type from parsed data
Reconstructed instance
Generic deserializer from JSON