Use type casing instead of extractors
More functional style for Json instances