Add basic JSON serialization and deserialization to Property