Implemented Test type 1: JSON serialization.